<template>
	<el-form :model="models" :rules="rules" ref="qmGenForm" label-width="100px" class="qm-gen-form">
				<el-row>
			<el-col :span="12">
				<el-form-item label="周的天 （0=星期日, 6=星期六）：" prop="model.week">
					<el-input v-model="models.model.week"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="访问页面用户数量：" prop="model.users">
					<el-input v-model="models.model.users"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="访问页面总数：" prop="model.totalPages">
					<el-input v-model="models.model.totalPages"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="浏览时长总数：" prop="model.skimTimes">
					<el-input v-model="models.model.skimTimes"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="12">
				<el-form-item label="人均访问页面数：" prop="model.averagePages">
					<el-input v-model="models.model.averagePages"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="12">
				<el-form-item label="人均访问页面时长：" prop="model.averageTimes">
					<el-input v-model="models.model.averageTimes"></el-input>
				</el-form-item>
			</el-col>
		</el-row>
	</el-form>
</template>

<script>
export default {
	name: "mobile-mobileModuleActivity-create",
	props: {
		models: Object,
		controlData: Object,
		pageAction: String
	},
	data() {
		return {
			rules: {
				"model.week": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.users": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.totalPages": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.skimTimes": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.averagePages": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
				"model.averageTimes": [
					{
						required: true,
						message: "这是必填字段",
						trigger: "blur",
					},
				],
			}
		};
	},
	methods: {},
};
</script>

<style scoped>
</style>